package adv3;

public class WarpTest3 {

	public static void main(String[] args) {
		// Integer i = null;
		// int j = i;// 0 or NullPointerException
		// System.out.println(j);
		Double d = new Double("3939393393934934369438234.655");
		System.out.println(d);
		double d2 = d.doubleValue();
		int d3 = d.intValue();
		byte b4 = d.byteValue();
		System.out.println("int:" + d3);
		System.out.println("byte:" + b4);
		System.out.println(Math.PI * Integer.MAX_VALUE);
		String s = Double.toString(Math.PI * Integer.MAX_VALUE);
		System.out.println(s);
		// String.valueOf(xxx)
		Integer k = Integer.valueOf("aaa");
		System.out.println(k);

	}

}
